//
//  UIColor+Extentions.m
//  WestAir
//
//  Created by 张燕枭 on 16/8/28.
//  Copyright © 2016年 张燕枭. All rights reserved.
//

#import "UIColor+Extentions.h"

@implementation UIColor (Extentions)

+ (UIColor *)colorWithHex:(int)hex{
    UIColor *color = [UIColor colorWithRed:(((hex & 0xFF0000) >> 16))/255.0 green:(((hex &0xFF00) >>8))/255.0 blue:((hex &0xFF))/255.0 alpha:1.0];
    return color;
}

@end
